package com.qys.livesMall.app.user.model.vo.sys;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/04/24
 * Time: 15:50
 * DESCRIPTION: 后台分页查询用户信息VO
 */
@Data
public class SysAppUserActivePageVo implements Serializable {

    @Serial
    private static final long serialVersionUID = -1L;

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "用户显示Id（用户账号）")
    private String userRandomId;

    @Schema(description = "用户等级")
    private String userLevel;

    @Schema(description = "用户等级")
    private Long userLevelId;

    @Schema(description = "注册ip地址")
    private String registeriIp;

    @Schema(description = "最后登录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    private LocalDateTime lastLoginTime;

    @Schema(description = "ip地址")
    private String ip;

    @Schema(description = "余额")
    private BigDecimal amount;
}
